package com.hq.service;

import com.hq.pojo.Custome;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public interface CusService {


    /*
     * 增加一条客户数据
     * */
    public abstract int ins_cus(Custome custome) throws Exception;

    /*
     *根据客户id删一条客户数据
     * */
    public abstract int del_cus(Integer customerid) throws Exception;

    /*
     *根据客户id修改一条客户数据
     * */
    public abstract int upd_cus(Custome custome) throws Exception;

    /*
     *查询一条客户数据
     * */
    public abstract Custome sel_cus(Custome custome) throws Exception;

    /*
     *查询所有客户数据
     * */
    public abstract List<Custome> cus_list_all() throws Exception;

    /*
     * 查询有多少条客户信息
     * */
    public abstract int sel_quantity_cus() throws  Exception;

}
